<?php 
class AccountController extends Zend_Controller_Action 
{
protected $ai=null;
public function init()
{
	parent::init();
	$this->ai=new Account();
	if($this->ai->IsLogin())
	{		
		$this->_forward("show");  
	}
	else
	{
		$this->_redirect("LoginService");	
	}
}

public function showAction()
{
	$v = new Zend_View ();
	$v->ai=$this->ai;
	$v->setScriptPath ( 'views' );
	echo $v->render ( 'AccountView.php');  
}
}

?>